package musicbrainz;

import java.util.ArrayList;

import org.w3c.dom.Document;
import org.w3c.dom.NodeList;

public class RecordingArrayMB {

	public ArrayList<RecordingMB> arr;

	public RecordingArrayMB(Document doc){
		arr = new ArrayList<RecordingMB>();
		NodeList nl = doc.getElementsByTagName("recording");
		for (int i = 0; i < nl.getLength(); i++) {
			RecordingMB r = new RecordingMB(nl.item(i));
			arr.add(r);
		}
	}
}
